package com.glory.wxelectricitypda.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.wxelectricitypda.R;
import com.glory.wxelectricitypda.bean.LotBean;

import java.util.List;


public class LotListBeanAdapter extends BaseQuickAdapter<LotBean, BaseViewHolder> {
    public LotListBeanAdapter(@Nullable List<LotBean> data) {
        super(R.layout.adapter_lot_bean, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, LotBean item) {
        helper.setText(R.id.tvLotId,item.getLOTID());
        helper.setText(R.id.tvEqpId,item.getEQPID());
    }
}
